import { dialogProps } from 'element-plus';

export const aDialogProps = {
  ...dialogProps,
  // 是否显示遮罩层
  showMask: {
    type: Boolean,
    default: true
  },
  // 是否显示关闭按钮
  showClose: {
    type: Boolean,
    default: true
  },
  // 是否显示全屏按钮
  showFullScreen: {
    type: Boolean,
    default: true
  },
  closeMessage: {
    type: String,
    default: ''
  }
};

export type ADialogInstance = {
  openModel: (val?: string) => void;
};
